<?php
declare(strict_types=1);
namespace app\api\controller;

use app\api\logic\SampleLogic;

/**
 * 示例
 */
class Sample extends ApiBase{
    /**
     * 使用示例
     * @return \think\response\Json
     */
    public function index(){
        return $this->returnData(SampleLogic::index($this->params));
    }

}
